package com.yeqian.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * sql模板实体
 */
@Data
@TableName("sql_template")
public class SqlTemplate {

  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.ASSIGN_UUID)
  private String id;

  @TableField("sqlVersion")
  private String sqlVersion;

  @TableField("describeSql")
  private String describeSql;

  @TableField("executeSql")
  private String executeSql;

  @TableField("createUser")
  private String createUser;

  @TableField("createTime")
  private LocalDateTime createtime;

  @TableField("updateUser")
  private String updateUser;

  @TableField("updateTime")
  private LocalDateTime updatetime;

  @TableField("deleteUser")
  private String deleteUser;

  @TableField("deleteTime")
  private LocalDateTime deletetime;

  @TableField("deleteFlag")
  private String deleteflag;

  @TableField("porder")
  private Integer porder;

}
